package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;


public interface CheckGroupService {

    //添加  传入Checkgroup  关联外键ID数组
    public void add(CheckGroup checkGroup, Integer[] checkItemIds);
    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);
    //修改数据
    //通过ID查询 回显
    public CheckGroup findById(Integer checkgroupId);

    List<Integer> findCheckitemIdsByCheckgroupId(Integer checkgroupId);

    void edit(CheckGroup checkGroup, Integer[] checkitemIds);

    public List<CheckGroup> findAll();


}
